package com.book.service;

import com.book.pojo.Address;
import com.book.pojo.User;

import java.util.List;

public interface UserService {

    public Integer add(User user);

    public List<Address> findAllAddress();

    public List<Address> findByUserId(Integer userId);

    Integer addList(List<User> userList);

    List<User> findAll();
}
